let {{name}} = Field::new({{level}}, "{{orig_name}}", {{offset}},
                          Spec::Decimal(DecimalSpec{
                              scale: {{scale}},
                              precision: {{precision}},
                              {%- if signed %}
                              sign: Some(Sign {
                                  leading: {{ sign_leading }},
                                  separate: {{ sign_separate }}
                              }),
                              {% else %}
                              sign: None,
                              {% endif -%}
                              format: DecimalFormat::{{format}},
                              value: None
                          }));
